// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 移动端开发中300ms延迟问题,在某些机型某些浏览器上click事件会被延迟300ms这样就会影响体验,引入fastclick库就解决了这个wt
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'styles/reset.css'
// 1像素边框问题手机屏幕分辨率较高。多倍屏显示不同的像素
import 'styles/border.css'
import 'styles/iconfont.css'
import 'swiper/dist/css/swiper.css'


/* APP局部组件是从./app.APP是当前目录下app.vue这个组件,被引入了进来 */
Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
/* eslint-disable no-new */
new Vue({
	el: '#app',
	router,
	/* es6与发{app:app}router:router */
	components: {
		App
	},
	template: '<App/>'
})
// 路由就是根据网址的不同返回不同内容给用户